<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script type="text/javascript">
        function twitterButton(){
          var url = location.href;
        var twitter = document.getElementById("twitterButton");
        twitter.setAttribute("data-url", "http://www.daou.com");
        var str = '${couponVO.title}' ;
        twitter.setAttribute("data-text",str+url);

        }
        window.onload = functioin
</script>
<body onload="javascript:twitterButton();">

<p align="right"><a href="http://twitter.com/share" class="twitter-share-button" id="twitterButton"
                    data-text=""
                    data-url=""
                  data-via="DAOU_Commerce"
                  data-related="anywhere:The Javascript API"
                  data-count="vertical">Tweet</a>
</p>

</body>




